<template>
	<view class="foot">
		<view class="title" @tap="nato('/pages/red/promotion')">推广管理</view>
		<view class="title" @tap="nato('/pages/red/zhe')">推广者中心</view>
	</view>
</template>

<script>
import { mapState, mapGetters } from 'vuex';
import { getNavigation } from '@/api/public.js';
import { getCartCounts } from '@/api/order.js';
export default {
	name: 'tuiFoot',
	props: {
		
	},
	data() {
		return {
		
		};
	},
	computed: {},
	
	watch: {
		
	},
	created() {
		
	},
	onShow() {},
	mounted() {
		
	},
	onHide() {
		
	},
	methods: {
		nato(url){
			uni.navigateTo({
				url
			})
		}
	}
};
</script>

<style lang="scss" scoped>
.foot{
	background-color: #FC0000;
	display: flex;
	justify-content: space-between;
	color: #FFFFFF;
	padding-top: 5%;
	padding-bottom: 5%;
	margin-top: 10%;
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 99;
}
.title{
	display: flex;
	justify-content: center;
	  width: calc(100% / 2); /* 每个子元素宽度为100%的三分之一 */
	  font-size: 35upx;
	
}
</style>
